package com.rc.web.service;

import com.mybatisflex.core.service.IService;
import com.rc.pojo.dto.address.AddressAddDTO;
import com.rc.pojo.dto.address.AddressUpdateDTO;
import com.rc.pojo.po.Address;
import com.rc.pojo.vo.address.AddressVO;

import java.util.List;

/**
 * 用户地址表 服务层。
 *
 * @author sym
 * @since 2024-05-24
 */
public interface AddressService extends IService<Address> {

    List<AddressVO> getList();

    void deleteOneById(Long id);

    void add(AddressAddDTO dto);

    void updateOneById(AddressUpdateDTO dto);

    AddressVO getOneById(Long id);
}
